package com.gxitsky.async.design.service.impl;

import com.gxitsky.async.design.model.Message;
import com.gxitsky.async.design.service.MessageService;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

/**
 * @author gxing
 * @desc TODO
 * @date 2022/7/25
 */
@Service
public class MessageServiceImpl implements MessageService {

    @Override
    public Message detail() {
            Message message = new Message();
            message.setId(100L);
            message.setBody("Hello World!");
            return message;
    }
}
